using UniversalAdminSystem.Domian.UserManagement.ValueObj;

namespace UniversalAdminSystem.Application.Authentication.Interfaces;

public interface IJwtTokenService
{
    string GenerateToken(string userId, string roleId, UserStatus status);
    (string userId, string roleId, UserStatus status) ParseToken(string token);
    string RefreshToken(string oldToken, out string userId, out string roleId, out UserStatus status);
}